<?php /* Smarty version 2.6.13, created on 2006-11-26 20:05:50
         compiled from file:C:%5Cdev%5Cxampp%5Chtdocs%5Cprojects%5Cbaj2%5Csrc%5Cinclude%5CfacePlugins%5Ccart/tpl/cart.tpl.php */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'geturl', 'file:C:\\dev\\xampp\\htdocs\\projects\\baj2\\src\\include\\facePlugins\\cart/tpl/cart.tpl.php', 9, false),array('function', 'getsurl', 'file:C:\\dev\\xampp\\htdocs\\projects\\baj2\\src\\include\\facePlugins\\cart/tpl/cart.tpl.php', 51, false),array('modifier', 'default', 'file:C:\\dev\\xampp\\htdocs\\projects\\baj2\\src\\include\\facePlugins\\cart/tpl/cart.tpl.php', 53, false),)), $this); ?>

<table summary='' cellpadding="0" border="0" align="center" cellspacing="0" width="100%">
  <tr>
    <td valign="top" align="center"><table summary='' cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
        <tr>
          <td class="p_link" align="left"><a href="#" class="a_top">Shopping</a></td>
        </tr>
      </table>
                  <form action="<?php echo smarty_geturl_function(array('plugin' => '_this','method' => null,'params' => 'event=recalculate'), $this);?>
" name="f_recalculate" method="POST">

      <table summary='' cellpadding="0" cellspacing="0" width="100%" align="center">
        <tr>
          <td align="center" class="table_pad"><table summary='' cellpadding="0" cellspacing="0" width="650">
              <tr>
                <td><img src="img/shop_cart_01.jpg" alt=""></td>
              </tr>
              <tr>
                <td width="650" height="20" align="left"><font class="faq">What You
                  Really Need To Do Is Find Yourself A Brand New Desktop</font></td>
              </tr>
              <tr>
                <td height="9"></td>
              </tr>
            </table>
            <table summary='' cellpadding="0" cellspacing="0" width="650" border="0" align="center">
              <tr>
                <td valign="top">

                    <table summary='' cellpadding="0" cellspacing="0" border="0" width="650" align="center">
                    <tr>
                      <td valign="top" align="center">
                      <table summary='' cellpadding="0" cellspacing="0" style='border:1px solid #83C2F8'>
                      <tr>
                            <td width="150"><img src="/img/photo.jpg" width="150" height="20" alt=""></td>
                            <td width="100"><img src="/img/item.jpg" width="100" height="20"alt=""></td>
                            <td width="150"><img src="/img/item_description.jpg" width="150"height="20" alt=""></td>
                            <td width="50"><img src="/img/qty.jpg" width="50" height="20" alt=""></td>
                            <td width="10" height="20" bgcolor="#83C2F8"></td>
                            <td width="100" height="20"><img src="/img/price.jpg" width="100" height="20" alt=""></td>
                            <td width="100"><img src="/img/photo_.jpg" width="100" height="20" alt=""></td>
                      </tr>
      <?php if (empty ( $this->_tpl_vars['cart'] ) || ! count ( $this->_tpl_vars['cart'] )): ?>
      <tr >
        <td colspan="7" align="center" height="40"><font class="faq">No items collected in the shopping cart</font></td>
      </tr>
      <?php else: ?>
                      
      <?php $_from = $this->_tpl_vars['cart']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['cart'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['cart']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['item']):
        $this->_foreach['cart']['iteration']++;
?>
                      <tr>
                            <td width="150" height="100" align="center" valign="middle">
<a href="<?php echo smarty_get_safe_catalog(array('id' => $this->_tpl_vars['item']['id'],'plugin' => 'catalogpage','method' => 'null','params' => "page=view_details&pid="), $this);?>
"><img src="<?php echo $this->_tpl_vars['item']['thumbnail']; ?>
" width="100" height="100" alt="" border="0"></a>
                            </td>
                            <td width="100" height="100" align="center"><font class="faq"><?php echo ((is_array($_tmp=@$this->_tpl_vars['item']['title'])) ? $this->_run_mod_handler('default', true, $_tmp, "&nbsp;") : smarty_modifier_default($_tmp, "&nbsp;")); ?>
</font></td>
                            <td width="150" height="100" align="center"><font class="faq"><b>Silver Ring</b> With Embroidery Around it...</font></td>
                            <td width="50" height="40" valign="middle" align="center">
                            <table summary='' cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <?php echo $this->_tpl_vars['item']['qty_on_stock']; ?>
<img onclick="javascript: qplus(<?php echo $this->_tpl_vars['id']; ?>
,<?php echo $this->_tpl_vars['item']['qty_on_stock']; ?>
);" src="/img/+.jpg" alt="+" border="0" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                <input type="text" id="q<?php echo $this->_tpl_vars['id']; ?>
" class="input_1" name="qty[<?php echo $this->_tpl_vars['id']; ?>
]" value="<?php echo $this->_tpl_vars['item']['qty']; ?>
" style="width:22px; border: none; text-align: center; color: #516AB1; font-family: Arial; font-size: 11px; font-weight: bold;" readonly />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <img onclick="javascript: qminus(<?php echo $this->_tpl_vars['id']; ?>
);" src="/img/-.jpg" border="0" alt="-" />
                                </td>
                            </tr>
                            </table>    
                            </td>
                            <td align="center" valign="middle" style="padding-top:4px"><a title="Remove" href="<?php echo smarty_geturl_function(array('plugin' => '_this','method' => null,'params' => "event=delete&id=".($this->_tpl_vars['id'])), $this);?>
"><img alt="Remove" src="/img/delete_icon.gif" border="0" /></a></td>
                            <td align="center" width="100" height="100" valign="middle"><font class="faq"><b>$<?php echo ((is_array($_tmp=@$this->_tpl_vars['item']['price_nf'])) ? $this->_run_mod_handler('default', true, $_tmp, '0') : smarty_modifier_default($_tmp, '0')); ?>
</b></font></td>
                            <td align="center" width="100" height="100" valign="middle"><font class="faq"><b>$<?php echo ((is_array($_tmp=@$this->_tpl_vars['item']['subtotal'])) ? $this->_run_mod_handler('default', true, $_tmp, '0') : smarty_modifier_default($_tmp, '0')); ?>
</b></font></td>

                      </tr>
      <?php endforeach; endif; unset($_from); ?>

      <?php endif; ?>                
                  </table>
               </td>
              </tr>
            </table>

                  <table summary='' cellpadding="0" cellspacing="0" width="652" align="center">
                    <tr>
                      <td width="400" height="20"></td>
                      <td width="252" height="20" bgcolor="#83C2F8" align="center"><a href="#" style="text-decoration:none;" onClick="return false;">Total : $<?php echo ((is_array($_tmp=@$this->_tpl_vars['price'])) ? $this->_run_mod_handler('default', true, $_tmp, '0') : smarty_modifier_default($_tmp, '0')); ?>
</a></td>
                    </tr>
                    <tr>
                      <td height="15"></td>
                    </tr>
                  </table>
      <?php if (! empty ( $this->_tpl_vars['cart'] ) && count ( $this->_tpl_vars['cart'] )): ?>

                  <table summary='' cellpadding="0" cellspacing="0" width="650">
                    <tr>
                      <td align="center"><a href="#" onclick="window.location.href='/index.php?path=catalogpage&cid=<?php echo $this->_tpl_vars['parent_cat']; ?>
'"><img src="/img/continue_shopping.jpg" border="0" alt="Continue shopping"></a>
                      <img src="/img/cart_recalculate.gif" onclick="document.forms['f_recalculate'].submit();" border="0" alt="Recalculate">
                      <a href="#" title="Checkout" onclick="window.location.href='/index.php?path=cart,checkout'"><img src="/img/checkout.jpg" border="0" alt="Checkout" /></a></td>
                    </tr>
                  </table>
    <?php endif; ?>                  
                  </td>
              </tr>
            </table></td>

        </tr>
      </table>
</form>      
      </td>
  </tr>
</table>
